﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BanmaytinhDAL;
using System.Data;
using System.Web;
using System.Data.SqlClient;
namespace BanmaytinhBOL
{
   public class HangsanxuatBOL
   {
       private static HangsanxuatInfo obj;
      
       private static HangsanxuatDAL db = new HangsanxuatDAL();

       public static HangsanxuatInfo Hangsanxuat_GetById(string Mahangsanxuat)
       {
           return db.Hangsanxuat_GetById(Mahangsanxuat);
       }
       

       public static List<HangsanxuatInfo> Hangsanxuat_GetByAll()
        {
            return db.Hangsanxuat_GetByAll();
        }

       public static bool Hangsanxuat_Insert(HangsanxuatInfo data)
       {
           return db.Insert(data);
       }


       public static bool Hangsanxuat_Update(HangsanxuatInfo data)
       {
           return db.Update(data);
       }


       public static bool Hangsanxuat_Delete(string Mahangsanxuat)
       {
           return db.Delete(Mahangsanxuat);
       }


       
   }

}
